package com.zxl.common.constant.order;

/**
 * @author zxw
 * @date 2023/4/3
 */
public enum OrderStatusConstant {
    ORDER_STATUS_CANCEL(20,"已取消"),
    ORDER_STATUS_WAITPAY(28,"待付款"),
    ORDER_STATUS_WAITSEND(29,"待发货"),
    ORDER_STATUS_WAITDELIVERY(30,"待收货"),
    ORDER_STATUS_COMPLETE(40,"已完成"),
    ORDER_STATUS_REFUND(130,"已退款")
    ;



    private Integer code;
    private String message;

    OrderStatusConstant(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
